ifneq ($(KERNELRELEASE),)

obj-m += vinput.o

# EXTRA_CFLAGS += -DDEBUG=1

else

KDIR := /home/lenver/work/linux-dev-31452/hd-dev/build-dir/kernel
# KDIR := /home/lenver/work/imx8/BSPS/linux-imx
# KDIR := /home/lenver/work/T7_SDK/t7linux-auto/linux-3.10
# KDIR := /home/lenver/work/L4115/build/kernel

all:
	$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
	$(MAKE) -C $(KDIR) M=$(PWD) clean

endif
